package com.frank.subject.application.dto;

import com.frank.subject.common.entity.PageInfo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * 题目信息表(SubjectInfo)实体类
 *
 * @author makejava
 * @since 2024-01-23 17:20:38
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SubjectInfoDto extends PageInfo implements Serializable {
    private static final long serialVersionUID = 124531251783187855L;

    /**
     * 题目ID
     */
    private Long id;

    /**
     * 题目名称
     */
    private String subjectName;
    /**
     * 题目难度
     */
    private Integer subjectDifficult;

    /**
     * 题目类型 1单选 2多选 3判断 4简答
     */
    private Integer subjectType;
    /**
     * 题目分数
     */
    private Integer subjectScore;
    /**
     * 题目解析
     */
    private String subjectParse;

    /**
     * 是否删除
     */
    private Integer isDeleted;

    /**
     * 题目答案
     */
    private String subjectAnswer;

    /**
     * 题目的标签ID
     */
    private List<Integer> labelIdList;

    /**
     * 题目分类ID
     */
    private List<Integer> catetoryIdList;

    /**
     * 答案选项
     */
    private List<SubjectAnswerDto> optionList;

    /**
     * 题目类型ID
     */
    private Long categoryId;

    /**
     * 题目标签ID
     */
    private Long labelId;

    /**
     * 题目标签名称
     */
    private List<String> labelNames;

}

